package com.tsy.server.system.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "角色权限视图实体", description = "角色权限视图实体")
public class RolePermissionVO {

    /**
     * 角色名称
     */
    @ApiModelProperty(value = "角色名称", example = "管理员")
    private String roleName;

    /**
     * 角色标识
     */
    @ApiModelProperty(value = "角色标识", example = "admin")
    private String roleKey;

    /**
     * 工作空间Id
     */
    @ApiModelProperty(value = "工作空间Id", example = "1xbbx")
    private String workspaceId;


    @ApiModelProperty(value = "角色权限", example = "[]")
    private List<PermissionVO> permissions;

}
